package structuralModel.combinationModel.genericOrganization;

/**
 * 功能描述:物理边界组件
 * 2024/08/22
 *
 * @author ZhangYi
 */
public abstract class APhysicalBoundaryCompoent<T> {

	private T t;

	public APhysicalBoundaryCompoent() {
	}

	public APhysicalBoundaryCompoent(T t) {
		this.t = t;
	}

	protected void addElement(APhysicalBoundaryCompoent<T> e) {
		throw new UnsupportedOperationException("该方法未实现");
	}

	protected void removeElement(APhysicalBoundaryCompoent<T> e){
		throw new UnsupportedOperationException("该方法未实现");
	}

	public abstract void queryAll();

	@Override
	public String toString() {
		return "APhysicalBoundaryCompoent{" +
				"t=" + t +
				'}';
	}
}
